package com.luck.pf.common.logic;

import java.io.Serializable;
import java.util.Date;

import com.luck.pf.util.BaseQuery;
import com.luck.pf.util.DateUtil;

/**
 * 说明:
 * Copyright: Copyright (c) 2010
 * @author zhangwr 2011-8-14 上午12:31:22
 * @version 1.0
 */
public class CommonQry extends BaseQuery implements Serializable{
	private static final long serialVersionUID = 8638992169212575686L;
	Date startDate;
	Date endDate;
	String logType;
	public Date getStartDate() {
		return startDate;
	}
	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}
	public String getLogType() {
		return logType;
	}
	public void setLogType(String logType) {
		this.logType = logType;
	}
	public Date getEndDate() {
		return endDate;
	}
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
	public String getStartDateStr() {
		return DateUtil.dateToString(this.startDate,DateUtil.patternA);
	}
	public String getEndDateStr() {
		return DateUtil.dateToString(this.endDate,DateUtil.patternA);
	}
}
